<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class SensapilityAfs</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class SensapilityAfs</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">version:</span> 0.1</li>
				<li><span class="field">author:</span> api.jmatt@gmail.com</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_sensapilityafs.php.html">/sensapilityafs.php</a> (line <span class="field">28</span>)
		</p>
		
				
		<pre><a href="../default/SensapilityService.html">SensapilityService</a>
   |
   --SensapilityAfs</pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
												<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																																																				
												<div class="method-definition">
											<span class="method-result">mixed</span>
										<a href="#deleteSearchResultStyle" title="details" class="method-name">deleteSearchResultStyle</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$serviceId</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">mixed</span>
										<a href="#deleteSearchResultStyles" title="details" class="method-name">deleteSearchResultStyles</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$serviceId</span>, <span class="var-type">string[]</span>&nbsp;<span class="var-name">$names</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#generateSearchBoxCode" title="details" class="method-name">generateSearchBoxCode</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$serviceId</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$country</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$searchType</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$sitePropertiesEncoding</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$sitePropertiesLocale</span>, <span class="var-type">bool</span>&nbsp;<span class="var-name">$isSafeSearch</span>, <span class="var-type">bool</span>&nbsp;<span class="var-name">$resultsInNewWindow</span>, <span class="var-type">string[]</span>&nbsp;<span class="var-name">$domains</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$selectedDomain</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$searchBoxBackgroundColor</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$searchBoxIsButtonBelow</span>, <span class="var-type">bool</span>&nbsp;<span class="var-name">$searchBoxIsCustomStyle</span>, <span class="var-type">bool</span>&nbsp;<span class="var-name">$searchBoxIsLogoAbove</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$searchBoxLogoType</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$searchBoxSearchStyleName</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$searchBoxTextBoxLength</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$searchBoxTextColor</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$channelName</span>, <span class="var-type">bool</span>&nbsp;<span class="var-name">$isButtonBelow</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$searchBoxStyleName</span>, <span class="var-type">int</span>&nbsp;<span class="var-name">$searchBoxTextLength</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">ChannelService_Data[]</span>
										<a href="#getActiveChannels" title="details" class="method-name">getActiveChannels</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$serviceId</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$type</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">SearchResultStyle[]</span>
										<a href="#getBuiltinSearchResultStyles" title="details" class="method-name">getBuiltinSearchResultStyles</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">ChannelService_Data[]</span>
										<a href="#getChannels" title="details" class="method-name">getChannels</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$serviceId</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$type</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">ChannelService_Data[]</span>
										<a href="#getInactiveChannels" title="details" class="method-name">getInactiveChannels</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$serviceId</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$type</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">SearchResultStyle[]</span>
										<a href="#getSearchResultStyles" title="details" class="method-name">getSearchResultStyles</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$serviceId</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">mixed</span>
										<a href="#saveSearchResultStyle" title="details" class="method-name">saveSearchResultStyle</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$serviceId</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$backgroundC</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$borderC</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$faintTextC</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$logoBackgroundC</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$logoDestUrl</span>, <span class="var-type">int</span>&nbsp;<span class="var-name">$logoHeight</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$logoPlacement</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$logoUrl</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$logoWidth</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$textC</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$titleC</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$urlC</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$visitedUrlC</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">mixed</span>
										<a href="#saveSearchResultStyles" title="details" class="method-name">saveSearchResultStyles</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$serviceId</span>, <span class="var-type">SearchResultStyle[]</span>&nbsp;<span class="var-name">$styles</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">none</span>
										<a href="#SensapilityAFS" title="details" class="method-name">SensapilityAFS</a>
											(<span class="var-type">soapclientnusoap</span>&nbsp;<span class="var-name">$soapClient</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$namespaces</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$defaultNamespaceLabel</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">ChannelService_Data[]</span>
										<a href="#_getChannelsWithStatus" title="details" class="method-name">_getChannelsWithStatus</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$serviceId</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$type</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$requestedStatus</span>)
									</div>
								</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="methoddeleteSearchResultStyle" id="deleteSearchResultStyle"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">deleteSearchResultStyle</span> (line <span class="line-number">200</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">return:</span> an empty array if the call is successful, null if it fails</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">mixed</span>
		<span class="method-name">
			deleteSearchResultStyle
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$serviceId</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$serviceId</span><span class="var-description">: the publisher id for the account to delete the  style from</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span><span class="var-description">: the name of the style to delete</span>			</li>
				</ul>
		
			
	</div>
<a name="methoddeleteSearchResultStyles" id="deleteSearchResultStyles"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">deleteSearchResultStyles</span> (line <span class="line-number">220</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">return:</span> an empty array if the call is successful, null if it fails</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">mixed</span>
		<span class="method-name">
			deleteSearchResultStyles
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$serviceId</span>, <span class="var-type">string[]</span>&nbsp;<span class="var-name">$names</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$serviceId</span><span class="var-description">: the publisher id for the account to delete the  style from</span>			</li>
					<li>
				<span class="var-type">string[]</span>
				<span class="var-name">$names</span><span class="var-description">: the name(s) of the style(s) to delete</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgenerateSearchBoxCode" id="generateSearchBoxCode"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">generateSearchBoxCode</span> (line <span class="line-number">281</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">return:</span> the code that will generate the AFS search box with the  specified parameters</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			generateSearchBoxCode
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$serviceId</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$country</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$searchType</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$sitePropertiesEncoding</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$sitePropertiesLocale</span>, <span class="var-type">bool</span>&nbsp;<span class="var-name">$isSafeSearch</span>, <span class="var-type">bool</span>&nbsp;<span class="var-name">$resultsInNewWindow</span>, <span class="var-type">string[]</span>&nbsp;<span class="var-name">$domains</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$selectedDomain</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$searchBoxBackgroundColor</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$searchBoxIsButtonBelow</span>, <span class="var-type">bool</span>&nbsp;<span class="var-name">$searchBoxIsCustomStyle</span>, <span class="var-type">bool</span>&nbsp;<span class="var-name">$searchBoxIsLogoAbove</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$searchBoxLogoType</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$searchBoxSearchStyleName</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$searchBoxTextBoxLength</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$searchBoxTextColor</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$channelName</span>, <span class="var-type">bool</span>&nbsp;<span class="var-name">$isButtonBelow</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$searchBoxStyleName</span>, <span class="var-type">int</span>&nbsp;<span class="var-name">$searchBoxTextLength</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$serviceId</span><span class="var-description">: the publisher id of the account to generate this  code for</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$country</span><span class="var-description">: the  &lt;a href=&quot;http://code.google.com/apis/adsense/developer/adsense_api_languages.html&quot;&gt;supported country code&lt;/a&gt;  where this search box should be geared to</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$searchType</span><span class="var-description">: whether this is a GoogleSearch or  GoogleSiteSearch</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$sitePropertiesEncoding</span><span class="var-description">: the character set encoding to  be used in the search box</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$sitePropertiesLocale</span><span class="var-description">: the language for the search button</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$isSafeSearch</span><span class="var-description">: whether this search should filter out adult  content</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$resultsInNewWindow</span><span class="var-description">: whether the search results should be  shown in a new window</span>			</li>
					<li>
				<span class="var-type">string[]</span>
				<span class="var-name">$domains</span><span class="var-description">: if a site search is done, the list of domains  the site search should be performed against</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$selectedDomain</span><span class="var-description">: the default domain to use with a  GoogleSiteSearch</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$searchBoxBackgroundColor</span><span class="var-description">: the hexadecimal representation  of the background color for the search box</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$isButtonBelow</span><span class="var-description">: if the search button appears below the box  instead of next to it</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$searchBoxIsCustomStyle</span><span class="var-description">: Determines whether the  searchStyleName is built in or custom. Set to true if the style specified  in searchStyleName is custom style.</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$searchBoxIsLogoAbove</span><span class="var-description">: Determines whether the logo is above  the query textbox or on the side. Set to true for Google logo above  textbox.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$searchBoxLogoType</span><span class="var-description">: Type of logo, describe the logo  appearances on the search ads, either 'GoogleLogo' or 'GoogleButton'</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$searchBoxStyleName</span><span class="var-description">: The name of the built in or custom  style to use for the search box</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$searchBoxTextLength</span><span class="var-description">: the number of characters that fit in  the search box without scrolling</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$searchBoxTextColor</span><span class="var-description">: the color of the search text typed  into the search box</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$channelName</span><span class="var-description">: the name of the channel this search box  should be associated with</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$searchBoxIsButtonBelow</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$searchBoxSearchStyleName</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$searchBoxTextBoxLength</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetActiveChannels" id="getActiveChannels"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getActiveChannels</span> (line <span class="line-number">428</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get the active channels</p>
	<ul class="tags">
				<li><span class="field">return:</span> <a href="http://code.google.com/apis/adsense/developer/ChannelService_Data.html">ChannelService_Data objects</a>  representing the channels for this service</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">ChannelService_Data[]</span>
		<span class="method-name">
			getActiveChannels
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$serviceId</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$type</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$serviceId</span><span class="var-description">: the publisher id of the account to generate this  code for</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$type</span><span class="var-description">: whether we should get Custom or URL channels</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetBuiltinSearchResultStyles" id="getBuiltinSearchResultStyles"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getBuiltinSearchResultStyles</span> (line <span class="line-number">48</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">return:</span> At array of search result style objects that  are built into the service, null if the call fails</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">SearchResultStyle[]</span>
		<span class="method-name">
			getBuiltinSearchResultStyles
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetChannels" id="getChannels"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getChannels</span> (line <span class="line-number">360</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get channels</p>
	<ul class="tags">
				<li><span class="field">return:</span> <a href="http://code.google.com/apis/adsense/developer/ChannelService_Data.html">ChannelService_Data objects</a>  representing the channels for this service</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">ChannelService_Data[]</span>
		<span class="method-name">
			getChannels
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$serviceId</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$type</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$serviceId</span><span class="var-description">: the publisher id of the account to generate this  code for</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$type</span><span class="var-description">: whether we should get Custom or URL channels</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetInactiveChannels" id="getInactiveChannels"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getInactiveChannels</span> (line <span class="line-number">415</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get the inactive channels</p>
	<ul class="tags">
				<li><span class="field">return:</span> <a href="http://code.google.com/apis/adsense/developer/ChannelService_Data.html">ChannelService_Data objects</a>  representing the channels for this service</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">ChannelService_Data[]</span>
		<span class="method-name">
			getInactiveChannels
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$serviceId</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$type</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$serviceId</span><span class="var-description">: the publisher id of the account to generate this  code for</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$type</span><span class="var-description">: whether we should get Custom or URL channels</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetSearchResultStyles" id="getSearchResultStyles"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getSearchResultStyles</span> (line <span class="line-number">181</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">return:</span> an array of  &lt;a href=&quot;http://code.google.com/apis/adsense/developer/SearchResultStyle.html&quot;&gt;SearchResultStyle&lt;/a&gt;  objects</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">SearchResultStyle[]</span>
		<span class="method-name">
			getSearchResultStyles
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$serviceId</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$serviceId</span><span class="var-description">: the publisher id corresponding to the account  to retrieve styles for</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsaveSearchResultStyle" id="saveSearchResultStyle"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">saveSearchResultStyle</span> (line <span class="line-number">83</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">return:</span> an empty array if the call was successful, null if it failed.</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">mixed</span>
		<span class="method-name">
			saveSearchResultStyle
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$serviceId</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$backgroundC</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$borderC</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$faintTextC</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$logoBackgroundC</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$logoDestUrl</span>, <span class="var-type">int</span>&nbsp;<span class="var-name">$logoHeight</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$logoPlacement</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$logoUrl</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$logoWidth</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$textC</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$titleC</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$urlC</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$visitedUrlC</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$serviceId</span><span class="var-description">: the publisher id to whose account this search  result style should be saved</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span><span class="var-description">: the name to save this search result style as</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$backgroundC</span><span class="var-description">: the hexadecimal representation of the  background color for the search results</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$faintTextC</span><span class="var-description">: the hexadecimal representation for the faint  text color for the search results</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$logoBackgroundC</span><span class="var-description">: the hexadecimal representation of the  color that appears as a background for the user defined logo</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$logoDestUrl</span><span class="var-description">: the Url the user should be taken to when they  click on the user defined logo</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$logoHeight</span><span class="var-description">: the height of the logo</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$logoPlacement</span><span class="var-description">: where the logo should be placed in the  search box, either 'Top' or 'Left'</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$logoUrl</span><span class="var-description">: the address where the logo image can be found</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$logoWidth</span><span class="var-description">: the width of the logo image</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$textC</span><span class="var-description">: the hexadecimal representation of the text color</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$visitedUrlC</span><span class="var-description">: the hexadecimal representation of the color  that visited links in the search results should have</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$borderC</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$titleC</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$urlC</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsaveSearchResultStyles" id="saveSearchResultStyles"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">saveSearchResultStyles</span> (line <span class="line-number">134</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">return:</span> an emtpy array on call success, null on failure</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">mixed</span>
		<span class="method-name">
			saveSearchResultStyles
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$serviceId</span>, <span class="var-type">SearchResultStyle[]</span>&nbsp;<span class="var-name">$styles</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$serviceId</span><span class="var-description">: the publisher id of the account where this  style should be saved</span>			</li>
					<li>
				<span class="var-type">SearchResultStyle[]</span>
				<span class="var-name">$styles</span><span class="var-description">: an array of  &lt;a href=&quot;http://code.google.com/apis/adsense/developer/SearchResultStyle.html&quot;&gt;SearchResultStyle&lt;/a&gt;  objects to save</span>			</li>
				</ul>
		
			
	</div>
<a name="methodSensapilityAFS" id="SensapilityAFS"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">SensapilityAFS</span> (line <span class="line-number">39</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">none</span>
		<span class="method-name">
			SensapilityAFS
		</span>
					(<span class="var-type">soapclientnusoap</span>&nbsp;<span class="var-name">$soapClient</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$namespaces</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$defaultNamespaceLabel</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">soapclientnusoap</span>
				<span class="var-name">$soapClient</span><span class="var-description">: the NuSOAP object that communicates  with the service</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$namespaces</span><span class="var-description">: associative array that matches namespace label  to namespace URIs</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$defaultNamespaceLabel</span><span class="var-description">: the namespace to be used with most  tags</span>			</li>
				</ul>
		
			
	</div>
<a name="method_getChannelsWithStatus" id="_getChannelsWithStatus"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">_getChannelsWithStatus</span> (line <span class="line-number">384</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get channels with a certain status</p>
	<ul class="tags">
				<li><span class="field">return:</span> <a href="http://code.google.com/apis/adsense/developer/ChannelService_Data.html">ChannelService_Data objects</a>  representing the channels for this service</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">ChannelService_Data[]</span>
		<span class="method-name">
			_getChannelsWithStatus
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$serviceId</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$type</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$requestedStatus</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$serviceId</span><span class="var-description">: the publisher id of the account to generate this  code for</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$type</span><span class="var-description">: whether we should get Custom or URL channels</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$requestedStatus</span><span class="var-description">: either active or inactive</span>			</li>
				</ul>
		
			
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../default/SensapilityService.html">SensapilityService</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../default/SensapilityService.html#methodSensapilityService">SensapilityService::SensapilityService()</a></span><br>
													<span class="method-name"><a href="../default/SensapilityService.html#methodcheckForFailure">SensapilityService::checkForFailure()</a></span><br>
													<span class="method-name"><a href="../default/SensapilityService.html#methodcomputeDepth">SensapilityService::computeDepth()</a></span><br>
													<span class="method-name"><a href="../default/SensapilityService.html#methoddeepenArray">SensapilityService::deepenArray()</a></span><br>
													<span class="method-name"><a href="../default/SensapilityService.html#methoddoSoapCall">SensapilityService::doSoapCall()</a></span><br>
													<span class="method-name"><a href="../default/SensapilityService.html#methodformatError">SensapilityService::formatError()</a></span><br>
													<span class="method-name"><a href="../default/SensapilityService.html#methodformatFault">SensapilityService::formatFault()</a></span><br>
													<span class="method-name"><a href="../default/SensapilityService.html#methodgetHeaders">SensapilityService::getHeaders()</a></span><br>
													<span class="method-name"><a href="../default/SensapilityService.html#methodgetLastCallError">SensapilityService::getLastCallError()</a></span><br>
													<span class="method-name"><a href="../default/SensapilityService.html#methodsetHeaders">SensapilityService::setHeaders()</a></span><br>
											</blockquote>
										
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Fri, 25 May 2007 13:35:28 -0700 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.1</a>
	</p>
	</div></body>
</html>